define(["jquery","template","as/app/growth/growthList.servers","as/template/growth/growthList.tpl"],function($,template,$servers,tpl){
	var ui = {};

	var drawList = function (data) {
        return template("growthList_list", data);
    }
    
    ui.list = function (options) {
        $("#"+options.id).append( tpl.list() );
        var html = drawList($servers.handleList(options));
        $("#"+options.id).html(html);
    }

	return ui;
});